package nuc.lizongze.item.controller;

import nuc.lizongze.item.service.ItemDescService;
import nuc.lizongze.pojo.TbItemDesc;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/service/itemDesc")
public class ItemDescController {

    @Autowired
    ItemDescService itemDescService;
    @RequestMapping("/insertItemDesc")
    public Integer insertItemDesc(@RequestBody TbItemDesc tbItemDesc){
        return this.itemDescService.insertItemDesc(tbItemDesc);
    }
}
